import axios from "axios";
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from "axios";
//引入提示
import { ElMessage } from "element-plus";
//默认超时时间
const instance: AxiosInstance = axios.create({
  //获取环境文件变量 设置默认请求地址
  baseURL: import.meta.env.VITE_BASE_URL,
  timeout: 10000, 
});
